/**
 * 
 */
package web.base;

/**
 * @author yuan<cihang.yuan@happyelements.com>
 * @since 1.7
 */
public class JsonResult {

	private boolean success;
	private String message;
	
	public JsonResult(){
		
	}
	
	public JsonResult(boolean success, String msg) {
		super();
		this.success = success;
		this.message = msg;
	}
	
	/**
	 * 获取success 
	 * @return the success
	 */
	public boolean isSuccess() {
		return success;
	}
	/**
	 * 设置success
	 * @param success the success to set
	 */
	public void setSuccess(boolean success) {
		this.success = success;
	}

	/**
	 * 获取message 
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * 设置message
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	
}
